package com.zhongnan.demo6;

public class Demo {
    /**
     * 创建三个线程 同时买票
     * @param args
     */
    public static void main(String[] args) {
        RunnableImpl run = new RunnableImpl();
        Thread th1 = new Thread(run);
        Thread th2 = new Thread(run);
        Thread th3 = new Thread(run);
        th1.start();
        th2.start();
        th3.start();
    }
}
